package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.orc.OCRBankCardInfo;
import com.aiwiown.face.internal.mapping.ApiField;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : OcrBankCardRequestV1Response
 * @Description : 银行卡
 * @Author : dbin0123
 * @Date: 2020年4月13日10:16:44
 */
public class OCRBankCardV1Response extends ApiResponse {
    private static final long serialVersionUID = 1701859111046963513L;

    /**
     * 被检测的图片在系统中的标识
     */
    @ApiField("image_id")
    private String imageId;
    /**
     * 检测出证件的数组
     * 注：如果没有检测出证件则为空数组
     */
    @ApiListField("bank_cards")
    private List<OCRBankCardInfo> bankCards;

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public List<OCRBankCardInfo> getBankCards() {
        return bankCards;
    }

    public void setBankCards(List<OCRBankCardInfo> bankCards) {
        this.bankCards = bankCards;
    }
}
